import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router"

// 路由类型:RouteRecordRaw
const routes : Array<RouteRecordRaw> = [
	{
		path: "/",
		component: () => import("@/views/home.vue"),
	},
];

const router = createRouter({
	// 路由模式
	history: createWebHistory(),
	routes,
});

export default router;